import request from '../utils/request';

export const selectUsers = () => {
    return request({
        url: '/selectUsers',
        method: 'get', 
    });
};

export const updateUser = (data) => {
    return request({
        url: '/updateUser',
        method: 'put', 
        data:data , 
    });
};

export const deluser = (data) => {
    return request({
        url: '/deluser',
        method: 'delete', 
        data:data , 
    });
};

export const premiss = (data) => {
    return request({
        url: '/premiss',
        method: 'post', 
        data:data , 
    });
};

export const reg = (data) => {
    return request({
        url: '/reg',
        method: 'post', 
        data:data , 
    });
};

export const selectClient = () => {
    return request({
        url: '/selectClient',
        method: 'get', 
    });
};

